package com.scap.dfs.service;

import java.util.List;

import com.scap.dfs.model.Department;
import com.scap.dfs.model.DepartmentPK;

public interface DepartmentService {
	
	public String addDepartment(Department department);
	
	public String updateDepartment(Department department);
	
	public String deleteDepartment(DepartmentPK pk);
	
	public Department getDepartmentById(DepartmentPK pk);

	public List getDepartmentList();
	
	public List getDepartmentListPerPage(int amount,int page,String orderByColumnName,String ascOrDesc);

	public List getDepartmentListByAttribute(Department department);
	
	public List getDepartmentListByAttributePerPage(Department department,int amount,int page
			,String orderByColumnName,String ascOrDesc);
	
}
